#!/bin/sh
. bin/env.sh
. bin/service.sh

startMemcached

gradleProp=%1
tasks='initTomcatConf initHttpdConf -x test'
./gradlew $tasks $gradleProp

startTomcat "$CASTRO_HOME/resources" "$CONTENT_HOME/app"

startHttpd